getById

  • function
 

Returns a Team in the list of teams given its id.

list.getById(id)

Returns a Team in the list of teams given its id.

Parameters

  1. id {Number}

Returns

{Team | undefined}

The team if it exists.